package com.matrix.merchant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.matrix.common.enums.ApplicationStatusEnum;
import com.matrix.common.enums.ShopStatusEnum;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 有点甜
 * @since 2025/7/26
 */
@Data
@TableName("t_merchant_application")
public class MerchantApplication implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String shopName;
    private String contactPhone;
    private String addressDetail;
    private BigDecimal latitude;
    private BigDecimal longitude;
    private String foodLicenseUrl;
    private String businessLicenseUrl;
    private ApplicationStatusEnum status;
    private String rejectionReason;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
